package com.hyzx.qbasic.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by 黄江华 on 2018/4/24
 * Spring boot主程序入口
 */

@SpringBootApplication
@EnableTransactionManagement
@ComponentScan("com.hyzx.qbasic")
@MapperScan(basePackages = "com.hyzx.qbasic.admin.domain.dao")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
